const { articleRouter } = require('./article.js');
const { reviewRouter } = require('./review.js');

const useRouters = (app) => {
  app.use(
    articleRouter.routes(),
    articleRouter.allowedMethods()
  );
  // 
  app.use(
    reviewRouter.routes(),
    reviewRouter.allowedMethods()
  );
}

module.exports = useRouters;